function(doc){
	if(doc.doctype == 'product'){
		emit([doc.supplierid, doc.topcategorycode, doc.leafcategorycode], 1);
	}
}